package com.training.java.mutability;

public class CarDemo extends Car {

	public static void main(String[] args) {

		Car nissanSentra = new Car();
		nissanSentra.setColor("Graphite Blue");
		nissanSentra.setMake("Nissan");
		nissanSentra.setModel("Sentra");
		
		nissanSentra.start();
		System.out.println("Make of my car = " + nissanSentra.getMake());
		System.out.println("Model of my car = " + nissanSentra.getModel());
		System.out.println("Color of my car = " + nissanSentra.getColor());
		nissanSentra.stop();
	}
}
